import os
import addonHandler
# 根据 manifest.ini 生成一些常量
addon = addonHandler.Addon(os.path.join(os.path.dirname(__file__), "..", ".."))
for k, v in addon.manifest.items():
    exec('%s = v' % k.upper())
# 附加的常量
CHARSET = 'utf-8'
ADB = 'adb'
MENU = 'menu'
QUERY = 'query'
OCR = 'ocr'